-- GENERATED SPELL FOR [Spitelash Raider] --


function spell0_12204(pUnit, Event) --@Frost Shock,n/a--
pUnit:FullCastSpellOnTarget(12548,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_12204', 8292, 1)
end

function Sorts_12204(pUnit, Event)
local choix_sorts_12204 = math.random(0, 0)
if choix_sorts_12204 == 0 then
pUnit:RegisterEvent('spell0_12204', 1, 1)
end
end

function mob12204_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_12204', math.random(1500, 3000), 1)
end

function mob12204_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12204_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12204_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(12204, 1, 'mob12204_Action')
RegisterUnitEvent(12204, 2, 'mob12204_Leave')
RegisterUnitEvent(12204, 3, 'mob12204_Kill')
RegisterUnitEvent(12204, 4, 'mob12204_Die')
